package com.mine.modules.vm.domain.query;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class MonitorPreviewURLsQuery {
    private static final String DEFAULT_STREAM_TYPE = "0";
    private static final String DEFAULT_PROTOCOL = "rtsp";
    private static final String DEFAULT_TRANSMODE = "0";

    @ApiModelProperty(value = "监控点唯一编码",required = true)
    private String cameraIndexCode;
    @ApiModelProperty("码流类型，0:主码流 1:子码流 2:第三码流 参数不填，默认为主码流")
    private String streamType = DEFAULT_STREAM_TYPE;
    @ApiModelProperty("hik:HIK私有协议;rtsp:RTSP协议;rtmp:RTMP协议;hls:HLS协议 参数不填，默认为HIK协议")
    private String protocol = DEFAULT_PROTOCOL;
    @ApiModelProperty("传输协议（传输层协议），0:UDP 1:TCP 默认是TCP 注： GB28181 2011及以前版本只支持UDP传输")
    private String transmode = DEFAULT_TRANSMODE;
}
